package com.example.unisys.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * user_role_table
 * @author 
 */
@ToString
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_role_table")
public class UserRole implements Serializable {
    /**
     * 用户类型1-sys 2-main 3-sub
     */
    @TableId(value = "user_type", type = IdType.AUTO)
    private Integer user_type;

    /**
     * 角色名
     */
    private String role_name;

    private static final long serialVersionUID = 1L;
}